home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1998 May / Designer's Club 1998 May.iso / pc / IDEASRC / LIGHT.DIR / 00003_flashlight thing.ls < prev    next >
Encoding:
Text File  |  1998-04-06  |  631 b   |  29 lines

  1. on exitFrame
  2.   go(the frame)
  3.   cursor(200)
  4.   set the locH of sprite 2 to the mouseH
  5.   set the locV of sprite 2 to the mouseV
  6.   if the mouseDown then
  7.     cursor(-1)
  8.     go(the frame + 1)
  9.   end if
  10.   repeat with n = 32 to 35
  11.     if rollOver(n) then
  12.       set the visible of sprite n to 0
  13.     end if
  14.     if rollOver(n) then
  15.       set the visible of sprite (n + 5) to 1
  16.     end if
  17.     updateStage()
  18.   end repeat
  19.   repeat with n = 32 to 35
  20.     if not rollOver(n) then
  21.       set the visible of sprite n to 1
  22.     end if
  23.     if not rollOver(n) then
  24.       set the visible of sprite (n + 5) to 0
  25.     end if
  26.     updateStage()
  27.   end repeat
  28. end
  29.